package com.suning.sawp.dto.storeman;

import com.suning.nsfuaa.roleauth.dto.EmpLoginExt;

/**
 * 
 * 继承UUA的角色信息类，兼容POS开单客户端所需要用的城市编码、区域编码、带Y/Z前缀的工号<br> 
 * 〈功能详细描述〉
 *
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class DjEmpLoginExt extends EmpLoginExt {

    /**
     */
    private static final long serialVersionUID = -3454696414215171323L;

    /**
     * 区域编码（POSTS用）
     */
    private String areaCode;
    
    /**
     * 城市编码（POSTS用）
     */
    private String cityCode;
    
    /**
     * POS开单用工号
     */
    private String posUserId;
    
    /**
     * 门店类型
     */
    private String storeType;

    public DjEmpLoginExt() {
        
    }
    
    public DjEmpLoginExt(EmpLoginExt empLoginExt) {
        this.setCompanyCode(empLoginExt.getCompanyCode());
        this.setCompanyId(empLoginExt.getCompanyId());
        this.setCompanyName(empLoginExt.getCompanyName());
        this.setDistinctId(empLoginExt.getDistinctId());
        this.setDistinctName(empLoginExt.getDistinctName());
        this.setOrgCode(empLoginExt.getOrgCode());
        this.setOrgDisplayName(empLoginExt.getOrgDisplayName());
        this.setOrgId(empLoginExt.getOrgId());
        this.setOrgLevel(empLoginExt.getOrgLevel());
        this.setOrgLevelCode(empLoginExt.getOrgLevelCode());
        this.setOrgName(empLoginExt.getOrgName());
        this.setPostionId(empLoginExt.getPostionId());
        this.setPostionName(empLoginExt.getPostionName());
        this.setRoleType(empLoginExt.getRoleType());
    }
    
    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getPosUserId() {
        return posUserId;
    }

    public void setPosUserId(String posUserId) {
        this.posUserId = posUserId;
    }

    public String getStoreType() {
        return storeType;
    }

    public void setStoreType(String storeType) {
        this.storeType = storeType;
    }

    @Override
    public String toString() {
        return "DjEmpLoginExt [areaCode=" + areaCode + ", cityCode=" + cityCode + ", posUserId=" + posUserId
                + ", storeType=" + storeType + "]";
    }
    
}
